package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_ck_douluodalu_explore", desc = "斗罗/封神森林探索事件日志", autoSave = true, uploadCk = true)
public class LogDouLuoDaLuExplore extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动id", isIndex = true)
    private int activityId;

    @FieldTypeAnnotation(desc = "玩家id", isIndex = true)
    private long userId;

    @FieldTypeAnnotation(desc = "队伍id")
    private int teamId;

    @FieldTypeAnnotation(desc = "所在区域id")
    private int regionId;

    @FieldTypeAnnotation(desc = "事件id")
    private int eventId;

    @FieldTypeAnnotation(desc = "事件类型")
    private int eventType;

    @FieldTypeAnnotation(desc = "变更前体力")
    private int energy;

    @FieldTypeAnnotation(desc = "消耗体力")
    private int useEnergy;

    @FieldTypeAnnotation(desc = "目标id")
    private long targetId;

    public LogDouLuoDaLuExplore(int activityId, long userId, int teamId, int regionId, int eventId, int eventType, int energy, int useEnergy, long targetId) {
        this.activityId = activityId;
        this.userId = userId;
        this.teamId = teamId;
        this.regionId = regionId;
        this.eventId = eventId;
        this.eventType = eventType;
        this.energy = energy;
        this.useEnergy = useEnergy;
        this.targetId = targetId;
    }

    public long getUserId() {
        return userId;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getTeamId() {
        return teamId;
    }

    public void setTeamId(int teamId) {
        this.teamId = teamId;
    }

    public int getRegionId() {
        return regionId;
    }

    public void setRegionId(int regionId) {
        this.regionId = regionId;
    }

    public int getEventId() {
        return eventId;
    }

    public void setEventId(int eventId) {
        this.eventId = eventId;
    }

    public int getEventType() {
        return eventType;
    }

    public void setEventType(int eventType) {
        this.eventType = eventType;
    }

    public int getEnergy() {
        return energy;
    }

    public void setEnergy(int energy) {
        this.energy = energy;
    }

    public int getUseEnergy() {
        return useEnergy;
    }

    public void setUseEnergy(int useEnergy) {
        this.useEnergy = useEnergy;
    }

    public long getTargetId() {
        return targetId;
    }

    public void setTargetId(long targetId) {
        this.targetId = targetId;
    }
}
